import React, { Component } from 'react'

class Prop extends Component {
    // 浏览器编译以后才能读取到
    static defaultProps = {
        time: 5000
    }
    render() {
        const { time } = this.props
        return (
            <div>
                PropProp  ---  { time }
            </div>
        )
    }
}


// Prop.defaultProps = {
//     time: 3000
// }


export default Prop
